#pragma once

#include "EditFiledQuestionDlg.h"
#include "afxwin.h"
// CEditFiledCriterion dialog

class CEditFiledCriterion : public CEditFiledQuestionDlg
{
    DECLARE_DYNAMIC(CEditFiledCriterion)

public:
    CEditFiledCriterion(UINT nIDTemplate, CWnd* pParent = NULL);   // standard constructor
    virtual ~CEditFiledCriterion();

// Dialog Data
    //enum { IDD = IDD_EditCodingQuestion };

protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    bool m_criterionExtracted;
    std::string m_criterionTempPath;
    CListCtrl m_listCriterionFiles;

    void InitCriterionFiles(void);
    void CleanCriteironFiles(void);

    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    afx_msg void OnBnClickedButtonAddcriterionfiles();
    afx_msg void OnBnClickedButtonDeletecriterionfile();
protected:
    virtual void OnOK();
};
